@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="productInfoForm">

            <input type="hidden" id="id" value="${product.id}">
            <input type="hidden" id="productTypeValue" value="${product.productType}">
            <input type="hidden" id="statusValue" value="${product.status}">
            <input type="hidden" id="replacePeriodValue" value="${product.replacePeriod}">

            <div class="row">

                <div class="col-sm-6 b-r">
                    <#select id="productType" name="产品类型"  underline="true" >
                        <option value="1">主机</option>
                        <option value="2">超伴</option>
                        <option value="3">管线机</option>
                        <option value="4">开水机</option>
                    </#select>
                    <#input id="productModel" name="产品编号" value="${product.productModel}"/>

                    <#select id="replacePeriod" name="更换周期"  underline="true">
                        <option value="6">6个月</option>
                        <option value="12">12个月</option>
                        <option value="24">24个月</option>
                        <option value="36">36个月</option>
                    </#select>
                </div>

                <div class="col-sm-6">
                    <#input id="productName" name="产品名称" underline="true"  value="${product.productName}" />

                    <#select id="status" name="产品状态">
                        <option value="1">在售</option>
                        <option value="0">下架</option>
                    </#select>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="ProductInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="ProductInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/biz/product/product_info.js"></script>
@}
